﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyLib.Myfolder
{
    internal class Student
    {
        public  void Report()
        {
            Console.WriteLine("right");
        }
        public int ID { get; set; }
        public string Name { get; set; }
    }
    class Test
    {
        Student s1 = new Student() { ID = 1, Name = "dd" };
        public void my()
        {
            s1.Report(); //函数的调用必须在函数体的内部
        }
}
}
